package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 供货合同货物对象 sys_providecontractdetails
 * 
 * @author ruoyi
 * @date 2020-12-13
 */
public class SysProvidecontractdetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 供货合同货物表ID */
    private Long provideContractDetailsId;

    /** 供货合同表ID */
    @Excel(name = "供货合同表ID")
    private Long provideContractId;

    /** 货物名称 */
    @Excel(name = "货物名称")
    private String goodName;

    /** 型号 */
    @Excel(name = "型号")
    private String model;

    /** 主要技术指标 */
    @Excel(name = "主要技术指标")
    private String indicators;

    /** 数量 */
    @Excel(name = "数量")
    private int number;

    /** 中标单价（元） */
    @Excel(name = "中标单价", readConverterExp = "元=")
    private Long winPrice;

    /** 成交单价（元） */
    @Excel(name = "成交单价", readConverterExp = "元=")
    private Long dealPrice;

    /** 扩展字段1 */
    @Excel(name = "扩展字段1")
    private String attribite1;

    /** 扩展字段3 */
    @Excel(name = "扩展字段3")
    private String attribite3;

    /** 扩展字段2 */
    @Excel(name = "扩展字段2")
    private String attribite2;

    private String[] atrs;

    private String[] prices;

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    private String supplierName;
    private String unitName;

    public String[] getPrices() {
        return prices;
    }

    public void setPrices(String[] prices) {
        this.prices = prices;
    }

    public String[] getAtrs() {
        return atrs;
    }

    public void setAtrs(String[] atrs) {
        this.atrs = atrs;
    }

    public void setProvideContractDetailsId(Long provideContractDetailsId)
    {
        this.provideContractDetailsId = provideContractDetailsId;
    }

    public Long getProvideContractDetailsId() 
    {
        return provideContractDetailsId;
    }
    public void setProvideContractId(Long provideContractId) 
    {
        this.provideContractId = provideContractId;
    }

    public Long getProvideContractId() 
    {
        return provideContractId;
    }
    public void setGoodName(String goodName) 
    {
        this.goodName = goodName;
    }

    public String getGoodName() 
    {
        return goodName;
    }
    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }
    public void setIndicators(String indicators) 
    {
        this.indicators = indicators;
    }

    public String getIndicators() 
    {
        return indicators;
    }
    public void setNumber(int number)
    {
        this.number = number;
    }

    public int getNumber()
    {
        return number;
    }
    public void setWinPrice(Long winPrice) 
    {
        this.winPrice = winPrice;
    }

    public Long getWinPrice() 
    {
        return winPrice;
    }
    public void setDealPrice(Long dealPrice) 
    {
        this.dealPrice = dealPrice;
    }

    public Long getDealPrice() 
    {
        return dealPrice;
    }
    public void setAttribite1(String attribite1) 
    {
        this.attribite1 = attribite1;
    }

    public String getAttribite1() 
    {
        return attribite1;
    }
    public void setAttribite3(String attribite3) 
    {
        this.attribite3 = attribite3;
    }

    public String getAttribite3() 
    {
        return attribite3;
    }
    public void setAttribite2(String attribite2) 
    {
        this.attribite2 = attribite2;
    }

    public String getAttribite2() 
    {
        return attribite2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("provideContractDetailsId", getProvideContractDetailsId())
            .append("provideContractId", getProvideContractId())
            .append("goodName", getGoodName())
            .append("model", getModel())
            .append("indicators", getIndicators())
            .append("number", getNumber())
            .append("winPrice", getWinPrice())
            .append("dealPrice", getDealPrice())
            .append("createTime", getCreateTime())
            .append("attribite1", getAttribite1())
            .append("attribite3", getAttribite3())
            .append("attribite2", getAttribite2())
            .toString();
    }
}
